<template>
  <view class="ocr">
    <u-cell-group>
      <u-cell-item icon="wifi" :title="$t('wifi设置')" @click="setWifi()"></u-cell-item>
      <u-cell-item icon="lock" :title="$t('设备绑定')" @click="deviceBind()"></u-cell-item>
    </u-cell-group>
    <u-no-network></u-no-network>
  </view>
</template>

<script>
import { mapGetters, mapMutations } from 'vuex'

export default {
  computed: {
    ...mapGetters(['userInfo', 'api'])
  },
  data() {
    return {}
  },
  onLoad() {
  },
  methods: {
    setWifi() {
      uni.navigateTo({ url: './wifiQR/wifiQR' })
    },
    deviceBind() {
      uni.navigateTo({ url: './deviceBind/deviceBind' })
    }
  }
}
</script>

<style lang="scss">
.ocr {
  background-color: #f0f0f0;
  height: 100%;
  overflow: auto;
}
</style>
